package com.shiwaixiangcun.monitor.dto;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * Created by Administrator on 2017/11/27.
 */
public class WorkOrderEarlyWarningDetailDto {

    private String customer;

    private List<EarlyWarningDetailContentDto> content = new ArrayList<>();

    private String other;


    public WorkOrderEarlyWarningDetailDto() {
    }

    public String getCustomer() {
        return customer;
    }

    public void setCustomer(String customer) {
        this.customer = customer;
    }

    public List<EarlyWarningDetailContentDto> getContent() {
        return content;
    }

    public void setContent(List<EarlyWarningDetailContentDto> content) {
        this.content = content;
    }

    public String getOther() {
        return other;
    }

    public void setOther(String other) {
        this.other = other;
    }

    public void addContent(String text, Date date) {
        this.content.add(new EarlyWarningDetailContentDto(text, date));
    }
}
